package com.ly.heart.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ly.common.core.domain.BaseVo;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 公司印章申请记录
 * </p>
 * @author WuZH
 * @since 2024-05-14
 */
@Getter
@Setter
@TableName ("erp_seal_apply_info")
@ApiModel (value = "公司印章申请记录", description = "公司印章申请记录")
public class SealApplyEntity extends BaseVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty ("id")
    @TableId (value = "id", type = IdType.INPUT)
    private String id;

    @ApiModelProperty ("申请时间")
    @TableField ("apply_time")
    private Date applyTime;

    @ApiModelProperty ("印章Id")
    @TableField ("seal_id")
    private String sealId;

    @ApiModelProperty ("申请人Id")
    @TableField ("user_id")
    private String userId;

    @ApiModelProperty ("使用类型，1：文件；2：异地使用")
    @TableField ("use_type")
    private Integer useType;

    @ApiModelProperty ("份数")
    @TableField ("number")
    private Integer number;

    @ApiModelProperty ("文件名称")
    @TableField ("file_name")
    private String fileName;

    @ApiModelProperty ("申请事由")
    @TableField ("reason")
    private String reason;

    @ApiModelProperty ("新增时间")
    @TableField ("create_time")
    private Date createTime;

    @TableField ("is_used")
    private Integer isUsed;

    @ApiModelProperty ("回显使用印章类型名称")
    @TableField (exist = false)
    private String sealTypeName;

}
